package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_depot")
public class Depot {
	@TableId(value = "depotId", type = IdType.AUTO)
	private int depotId;
	
	@TableField("depotName")
	private String depotName;//仓库名称
	
	@TableField("address")
	private String address;//仓库地址
	
	@TableField("warehousing")
	private double warehousing;//仓储费
	
	@TableField("truckage")
	private double truckage;//搬运费
	
	@TableField("type")
	private int type;//类型
	
	@TableField("sort")
	private String sort;//排序
	
	@TableField("remark")
	private String remark;//描述
	
	@TableField("principal")
	private int principal;//负责人
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除
	
	@TableField("isDefault")
	private int isDefault;//是否默认

	public int getDepotId() {
		return depotId;
	}

	public void setDepotId(int depotId) {
		this.depotId = depotId;
	}

	public String getDepotName() {
		return depotName;
	}

	public void setDepotName(String depotName) {
		this.depotName = depotName == null ? null : depotName.trim();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public double getWarehousing() {
		return warehousing;
	}

	public void setWarehousing(double warehousing) {
		this.warehousing = warehousing;
	}

	public double getTruckage() {
		return truckage;
	}

	public void setTruckage(double truckage) {
		this.truckage = truckage;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort == null ? null : sort.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public int getPrincipal() {
		return principal;
	}

	public void setPrincipal(int principal) {
		this.principal = principal;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}

	public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}
	
	
}
